.\"                                      Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2018 Boyuan Yang <073plan@gmail.com>,
.\" This file is released under CC0 1.0 Universal (CC0-1.0) license.
.\"
.TH "FLAMESHOT" "1" "2021-11-11"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
Flameshot \- Powerful yet simple-to-use screenshot software
.SH SYNOPSIS
.B flameshot
[subcommands] [arguments]
.br
.B flameshot gui
[gui arguments]
.br
.B flameshot screen
[screen arguments]
.br
.B flameshot full
[fullscreen arguments]
.br
.B flameshot config
[config arguments]
.br
.B flameshot launcher
.br
.
.\"----------------------------------------------------------------------------
.SH DESCRIPTION
This manual page documents briefly the
.B flameshot
command as provided by
.B flameshot
package.
.PP
\fBflameshot\fP is a screenshot tool that aims to be powerful yet simple-to-use.
Its notable features include customizable appearance, in-app screenshot editing,
D-Bus interface, tray icon support, experimental GNOME/KDE Wayland support,
integration with Imgur and support for both GUI and CLI interface.
.PP
Besides the usage information about \fBflameshot\fR in this manpage, you can find similar information using \fBflameshot --help\fR. Same \fB--help\fR can be used for each subcommand as well to get the valid arguments for them. The detailed usage of \fBflameshot\fP is documented in the \fIREADME.md\fR file on the project's Git repository page:
https://github.com/flameshot-org/flameshot
.
.\"----------------------------------------------------------------------------
.SH "SUBCOMMANDS"
.PP
Per default without subcommands, \fBflameshot\fR runs the Flameshot in the background and adds a tray icon for configuration. Note that it will not take a screenshot unless you define one of the modes though the subcommands. There are various subcommands that can be used to use flameshot in different modes:
.
.TP
.B gui
Running Flameshot in \fBgui\fR mode would let the user to select the region from which the screenshot should be taken and then allow them to annotate the screenshot.
.
.TP
.B full
Takes screenshot of all monitors at the same time
.
.TP
.B screen
Takes screenshot of the specified monitor.
.
.TP
.SH launcher
Does not accept any arguments, it will just opens the launcher window
.
.TP
.SH config
If no argument is provided, it will open the config window, otherwise it can change the configurations based on the provided arguments.
.
.\"----------------------------------------------------------------------------
.SH "ARGUMENTS"
.PP
Here we list all the arguments available for all subcommands. The subcommands that accept each argument are listed after each argument. Alternatively, you can use the \fBflameshot [subcommand] --help\fR to know the list of available arguments for each subcommand.
.
.PP
\-s, \-\-accept-on-select
.RS 4
Accept capture as soon as a selection is made
.br
Valid for subcommands: gui
.RE
.
.PP
\-a, \-\-autostart <bool>
.RS 4
Enable or disable run at startup
.br
Valid for subcommands: config
.RE
.
.PP
\-\-check
.RS 4
Check the configuration for errors. This is useful if you manually change the config file and want to make sure it does not contain errors.
.br
Valid for subcommands: config
.RE
.
.PP
\-c, \-\-clipboard
.RS 4
Save the capture to the clipboard
.br
Valid for subcommands: full, gui, screen
.RE
.
.PP
\-k, \-\-contrastcolor <color-code>
.RS 4
Define the contrast UI color
.br
Valid for subcommands: config
.RE
.
.PP
\-d, \-\-delay <milliseconds>
.RS 4
How many milliseconds should Flameshot wait before taking the screenshot
.br
Valid for subcommands: full, gui, screen
.RE
.
.PP
\-f, \-\-filename <pattern>
.RS 4
Set the filename pattern
.br
Valid for subcommands: config
.RE
.
.PP
\-h, \-\-help
.RS 4
Show a brief help message and list the arguments the valid arguments for that subcommand
.br
Valid for subcommands: config, full, gui, launcher, screen
.RE
.
.PP
\-\-last-region
.RS 4
Repeat screenshot with previously selected region
.br
Valid for subcommands: gui
.RE
.
.PP
\-m, \-\-maincolor <color-code>
.RS 4
Define the main UI color
.br
Valid for subcommands: config
.RE
.
.PP
\-n, \-\-notifications
.RS 4
Enable or disable the notifications
.br
Valid for subcommands: config
.RE
.
.PP
\-n, \-\-number <Screen number>
.RS 4
Define the screen to capture (starting from 0), default: screen containing the cursor
.br
Valid for subcommands: screen
.RE
.
.PP
\-p, \-\-path <path>
.RS 4
Existing directory or new file to save to
.br
Valid for subcommands: full, gui, screen
.RE
.
.PP
\-\-pin
.RS 4
Pin the capture to the screen
.br
Valid for subcommands: gui, screen
.RE
.
.PP
\-g, \-\-print-geometry
.RS 4
Print geometry of the selection in the format WxH+X+Y. Does nothing if raw is specified
.br
Valid for subcommands: gui
.RE
.
.PP
\-r, \-\-raw
.RS 4
Send raw PNG to stdout
.br
Valid for subcommands: full, gui, screen
.RE
.
.PP
\-\-region <WxH+X+Y or string>  
.RS 4
Screenshot region to select
.br
Valid for subcommands: full, gui, screen
.RE
.
.PP
\-s, \-\-showhelp <bool>
.RS 4
Show the help message in the capture mode
.br
Valid for subcommands: config
.RE
.
.PP
\-t, \-\-trayicon <bool>
.RS 4
Enable or disable the trayicon
.br
Valid for subcommands: config
.RE
.
.PP
\-u, \-\-upload
.RS 4
Upload screenshot
.br
Valid for subcommands: full, gui, screen
.RE
.
.\"----------------------------------------------------------------------------
.SH "EXAMPLE USAGE"
.PP
This section lists some of the most common usage of \fBflameshot\fR via
command line.
.
.TP
.B flameshot
Start flameshot and have it running in background. If enabled,
an icon will appear in the tray area of current desktop environment.
.
.TP
.B flameshot gui
Capture with GUI.
.
.TP
\fBflameshot gui\fR \-p /path/to/captures
Capture with GUI and custom save path.
.
.TP
\fBflameshot gui\fR \-d 2000
Open GUI with a delay of 2 seconds.
.
.TP
.B flameshot launcher
Open a launcher dialog for advanced screenshot, such as custom
time delay, etc.
.
.TP
.B flameshot full \-\-help
Shows help for \fBflameshot full\fR subcommand.
.
.TP
\fBflameshot full\fR -p /path/to/captures -d 5000
Fullscreen capture with custom save path (no GUI) and time delay.
.
.TP
\fBflameshot full\fR -c -p /path/to/captures
Fullscreen capture with custom savepath copying to clipboard.
.
.TP
\fBflameshot screen\fR \-\-number <screen number>
Define the screen to capture. Will capture the screen containing the
cursor by default.
.
.TP
\fBflameshot screen\fR \-\-help
Shows help for \fBflameshot screen\fR subcommand.
.
.\"----------------------------------------------------------------------------
.SH RETURN VALUE
Returns 0 on normal exit, 2 on screenshot aborted, 3 on dbus connection lost, 130 on SIGINT received, 143 on SIGTERM received.
.
.\"----------------------------------------------------------------------------
.SH SEE ALSO
.PP
You may also find more detailed online documentation on upstream project homepage.
.
.HP
Upstream project homepage:
.br
• \m[blue]\fBhttps://flameshot.org\fR\m[]
.br
• \m[blue]\fBhttps://github.com/flameshot-org/flameshot\fR\m[]
.
.\"----------------------------------------------------------------------------
.SH "AUTHOR"
.PP
.ad l
.B Flameshot
was initially written by
.MT izhe@\:hotmail.es
lupoDharkael
.ME
and is currently maintained by
Jeremy Borgman,
.MT byang@\:debian.org
Boyuan Yang
.ME ,
Haris Gušić,
Ahmed Zetao Yang,
Mehrad Mahmoudian,
and
Martin Eckleben
(ordered based on number of contributions on the date of writing this manpage).
.br
The following URL gives you a more complete list of contributors:
.RS
\m[blue]\fBhttps://github.com/flameshot-org/flameshot/graphs/contributors\fR\m[]\&.
.RE
.
.\"----------------------------------------------------------------------------
.SH "LICENSE"
.nh
.PP
• The main code is licensed under GPLv3
.br
• The logo of Flameshot is licensed under Free Art License v1.3
.br
• The button icons are licensed under Apache License 2.0. See: \m[blue]\fBhttps://github.com/google/material-design-icons\fR\m[]
.br
• The code at capture/capturewidget.cpp is based on \m[blue]\fBhttps://github.com/ckaiser/Lightscreen/blob/master/dialogs/areadialog.cpp\fR\m[] (GPLv2)
.br
• The code at capture/capturewidget.h is based on \m[blue]\fBhttps://github.com/ckaiser/Lightscreen/blob/master/dialogs/areadialog.h\fR\m[] (GPLv2)
.br
• Few lines of code from KSnapshot regiongrabber.cpp SVN revision 796531 (LGPL)
.br
• Qt-Color-Widgets taken and modified from \m[blue]\fBhttps://github.com/mbasaglia/Qt-Color-Widgets\fR\m[] (see their license and exceptions in the project) (LGPL/GPL)
